package com.kusen.village.raise.enums;

import lombok.Getter;

@Getter
public enum RabbitEnum {

    HELLO("exchange", Exchange.hello,"hello_key");
    private String exchange;
    private String queues;
    private String routingKey;

    public interface Exchange{
        String hello="hello";
    }
    RabbitEnum(String exchange, String queues, String routingKey) {
        this.exchange = exchange;
        this.queues = queues;
        this.routingKey = routingKey;
    }
}
